package com.yic.module.base.convert.erpcentermapping;

import java.util.*;

import com.yic.framework.common.pojo.PageResult;

import com.yic.module.base.api.erpcentermapping.dto.ErpCenterMappingRespDTO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
import com.yic.module.base.controller.admin.erpcentermapping.vo.*;
import com.yic.module.base.dal.dataobject.erpcentermapping.ErpCenterMappingDO;

/**
 * ERP工作中心映射 Convert
 *
 * @author 系统管理员
 */
@Mapper
public interface ErpCenterMappingConvert {

    ErpCenterMappingConvert INSTANCE = Mappers.getMapper(ErpCenterMappingConvert.class);

    ErpCenterMappingDO convert(ErpCenterMappingCreateReqVO bean);

    ErpCenterMappingDO convert(ErpCenterMappingUpdateReqVO bean);

    ErpCenterMappingRespVO convert(ErpCenterMappingDO bean);

    List<ErpCenterMappingRespVO> convertList(List<ErpCenterMappingDO> list);

    PageResult<ErpCenterMappingRespVO> convertPage(PageResult<ErpCenterMappingDO> page);

    List<ErpCenterMappingExcelVO> convertList02(List<ErpCenterMappingDO> list);

    ErpCenterMappingRespDTO convert01(ErpCenterMappingDO erpCenterMappingDO);

}
